package com.pc.admin.test.redpacket;

import java.util.ArrayList;
import java.util.Collections;

class LotteryBox {

    public static void main(String[] args) {


        ArrayList<Integer> list = new ArrayList<>();
        Collections.addAll(list, 100, 200, 333, 45, 6666, 888, 999, 34, 555);


        Lottery lottery1 = new Lottery(list);
        Lottery lottery2 = new Lottery(list);


        lottery1.setName("抽奖箱1");
        lottery2.setName("抽奖箱2");


        lottery1.start();
        lottery2.start();




    }

}